<%-- 
    Document   : newUser
    Created on : 20-feb-2012, 17:00:31
    Author     : Tarde
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html:html lang="true" xhtml="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="../CSS/LogIn/styleLogIn.css" rel="stylesheet" type="text/css" media="all" />
        <link href='http://fonts.googleapis.com/css?family=Henny+Penny' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light+Two' rel='stylesheet' rel='stylesheet' type='text/css'>
    </head>
    <body>
        <div id="wrapper">

            <div id="logo2">
                <html:link action="Welcome.do"><img src="../CSS/LogIn/images/logo_1.png" /></html:link><br />
                <h1>Java Planet</h1>
            </div>
            <div id="registro">

                <table align="center" cellspacing="10px" width="250px">
                    <html:form action="/NewUserForm">
                        <tr>
                            <td colspan="2" bgcolor="#CCCCCC" align="center" class="tituloRegistro"><bean:message key="nuevousuario.sub"/></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="alias.txt"/></td>
                        </tr>
                        <tr>
                            <td width="65%"><html:text property="login"/></td>
                            <td class="error"><!--Introduzca usuario--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="password.txt"/></td>
                        </tr>
                        <tr>
                            <td><html:password property="password"/></td>
                            <td class="error"><!--Introduzca contraseña--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="password2.txt"/></td>
                        </tr>
                        <tr>
                            <td><html:password property="password2"/></td>
                            <td class="error"><!--Introduzca contraseña--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><hr /></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="name.txt"/></td>
                        </tr>
                        <tr>
                            <td width="65%"><html:text property="name"/></td>
                            <td class="error"><!--Introduzca usuario--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="surname.txt"/></td>
                        </tr>
                        <tr>
                            <td><html:text property="surname"/></td>
                            <td class="error"><!--Introduzca contraseña--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="email.txt"/></td>
                        </tr>
                        <tr>
                            <td><html:text property="email"/></td>
                            <td class="error"><!--Introduzca contraseña--></td>
                        </tr>
                        <tr>
                            <td colspan="2"><bean:message key="avatar.txt"/></td>
                        </tr>
                        <tr>
                            <td><input type="file" /></td>
                            <td class="error"><!--Introduzca contraseña--></td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center"><html:submit><bean:message key="button.submit"/></html:submit></td>

                            </tr>
                    </html:form>
                </table>

            </div>

            <div id="footer">
                <p>Copyright &copy; 2011 TemplateName. Designed by <a href="http://www.freecsstemplates.org/"><strong>CSS Templates</strong></a> | <a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></p>
            </div>
        </div>
    </body>
</html:html>

<!bean:message key="location.txt"/>
<!html:select property="location"> <%-- Location es una lista de localizaciones --%>
<!html:options name="location" />
<!--/html:select>



